import { createRouter, createWebHistory } from 'vue-router'
import Register from '@/views/Register/myIndex.vue'
import Login from '@/views/Login/myIndex.vue'
import Home from '@/views/Home/myIndex.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/Register',
      component: Register
    },
    {
      path: '/',
      component: Login
    },
    {
      path: '/Home',
      component: Home
    }
  ],
})

export default router
